#/usr/bin/env python

def cheeseshop(kind, *arguments, **keywords):
    print("-- Do you have any", kind, "?")
    print("-- I'm sorry, we're all out of", kind)
    for arg in arguments:
        print(arg)
    print("-" * 40)
    keys = sorted(keywords.keys())
    for kw in keys:
        print(kw, ":", keywords[kw])
 
 
def concat(*args, sep="/"):
    return sep.join(args)

# 文档字符串
def my_function():
    """Do nothing, but document it.

    No, really, it doesn't do anything.
    """
    pass

def f(ham: 42, eggs: int = 'spam') -> "Nothing to see here":
    print("Annotations:", f.__annotations__)
    print("Arguments:", ham, eggs)

# main        
cheeseshop("Limburger", "It's very runny, sir.",
           "It's really very, VERY runny, sir.",
           shopkeeper="Michael Palin",
           client="John Cleese",
           sketch="Cheese Shop Sketch")

print("-" * 40)
ret = concat("earth", "mars", "venus")
print(ret)
print("-" * 40)
ret = concat("earth", "mars", "venus", sep=".")
print(ret)

print("-" * 40)
print(my_function.__doc__)
print("-" * 40)
f('wonderful')